CVE-2026-3455
Mailparser Cross-site Scripting (XSS) Vulnerability
Description
Versions of the package mailparser before 3.9.3 are vulnerable to Cross-site Scripting (XSS) via the textToHtml() function due to the improper sanitisation of URLs in the email content. An attacker can execute arbitrary scripts in victim browsers by adding extra quote " to the URL with embedded malicious JavaScript code.
INFO
Published Date :
March 3, 2026, 5:17 a.m.
Last Modified :
March 13, 2026, 5:53 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update the mailparser package to version 3.9.3 or later.
- Sanitize URLs in email content before processing.
- Validate user-supplied input for malicious code.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-3455.
| URL | Resource |
|---|---|
| https://gist.github.com/hayageek/7fcb225e3b1ea9a341d560403fbb585a | Exploit Third Party Advisory |
| https://github.com/nodemailer/mailparser/commit/921a67df4cfb38f0b411037d7b26fbd4d5411b08 | Patch |
| https://github.com/nodemailer/mailparser/issues/412 | Issue Tracking |
| https://security.snyk.io/vuln/SNYK-JS-MAILPARSER-15204032 | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-3455 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-3455
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-3455 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-3455 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 13, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:nodemailer:mailparser:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.9.3 Added Reference Type Snyk: https://gist.github.com/hayageek/7fcb225e3b1ea9a341d560403fbb585a Types: Exploit, Third Party Advisory Added Reference Type Snyk: https://github.com/nodemailer/mailparser/commit/921a67df4cfb38f0b411037d7b26fbd4d5411b08 Types: Patch Added Reference Type Snyk: https://github.com/nodemailer/mailparser/issues/412 Types: Issue Tracking Added Reference Type Snyk: https://security.snyk.io/vuln/SNYK-JS-MAILPARSER-15204032 Types: Third Party Advisory -
New CVE Received by [email protected]
Mar. 03, 2026
Action Type Old Value New Value Added Description Versions of the package mailparser before 3.9.3 are vulnerable to Cross-site Scripting (XSS) via the textToHtml() function due to the improper sanitisation of URLs in the email content. An attacker can execute arbitrary scripts in victim browsers by adding extra quote " to the URL with embedded malicious JavaScript code. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Added CWE CWE-79 Added Reference https://gist.github.com/hayageek/7fcb225e3b1ea9a341d560403fbb585a Added Reference https://github.com/nodemailer/mailparser/commit/921a67df4cfb38f0b411037d7b26fbd4d5411b08 Added Reference https://github.com/nodemailer/mailparser/issues/412 Added Reference https://security.snyk.io/vuln/SNYK-JS-MAILPARSER-15204032